/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.login.plugin.accountBind.view;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import android.widget.LinearLayout;
import android.widget.RelativeLayout.LayoutParams;
import android.widget.TextView;
import com.qihoo.gamecenter.sdk.login.plugin.d;
import com.qihoo.gamecenter.sdk.login.plugin.d.a;
import com.qihoo.gamecenter.sdk.login.plugin.h.c;
import com.qihoo.gamecenter.sdk.login.plugin.h.f;

public class VerifyPhoneNumberDialogPayPopup extends VerifyPhoneNumberDialogPopup {
    public VerifyPhoneNumberDialogPayPopup(Activity paramActivity, String paramString, Intent paramIntent, b paramb) {
        super(paramActivity, paramString, paramIntent, paramb);
    }

    protected LinearLayout b(Context paramContext) {
        LinearLayout localLinearLayout = new LinearLayout(this.b);
        this.k = new CustomTextView(paramContext);
        this.k.setBackgroundDrawable(null);
        RelativeLayout.LayoutParams localLayoutParams = new RelativeLayout.LayoutParams(-1, -2);
        localLayoutParams.bottomMargin = f.a(paramContext, 18.0F);
        localLayoutParams.leftMargin = h();
        localLayoutParams.rightMargin = h();
        localLayoutParams.addRule(3, a.c.ordinal());
        localLinearLayout.setLayoutParams(localLayoutParams);
        localLinearLayout.setId(a.d.ordinal());
        localLinearLayout.addView(this.k, new RelativeLayout.LayoutParams(-1, -2));
        this.k.setGravity(16);
        String str = this.d.getStringExtra("bind_message");
        this.k.setTextSize(1, c.l);
        if (TextUtils.isEmpty(str))
            this.k.setText(d.a(d.a.bg));
        else
            this.k.setText(str);
        this.k.setTextColor(-16777216);
        return localLinearLayout;
    }

    protected int h() {
        return 0;
    }
}